package com.hk.dao;

import com.hk.model.NewsType;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: KangWang
 * Date: 2021/5/19 17:13
 * State：新闻类型数据持久层
 */
public class NewsTypeDao {


    public List<NewsType> findAllNewsType() {
        List<NewsType> newsTypes = new ArrayList<>();
        newsTypes.add(new NewsType(1,"公司新闻","/index"));
        newsTypes.add(new NewsType(2,"行业资讯","/index"));
        newsTypes.add(new NewsType(3,"媒体报道","/index"));
        return newsTypes;
    }
}
